package com.ouc.openplatform.ouc.authManage.model;
import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.ouc.openplatform.common.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Table(name = "NJ_DepartmentStructure")
@Data
@EqualsAndHashCode(callSuper=false)
public class NJ_DepartmentStructure extends BaseModel implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select SEQUENCE_NJ_DEP.nextval from dual")
	private int id;
	private String departmentname;
	private String departmentcode;
	private int parentid;
	private String address;
	private String type;
	private Integer depth;
}
